package cn.iocoder.yudao.module.bpm.service.feign;

import cn.iocoder.yudao.module.bpm.feign.bpm.DeptApi;
import com.xueyi.system.api.organize.domain.dto.SysDeptDto;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * 部门 API 实现类
 *
 * @author 芋道源码
 */
@Service
public class DeptApiImpl implements DeptApi {

    /*@Resource
    private DeptService deptService;*/

    @Override
    public SysDeptDto getDept(Long id) {
        /*DeptDO dept = deptService.getDept(id);
        return DeptConvert.INSTANCE.convert03(dept);*/
        return null;
    }

    @Override
    public List<SysDeptDto> getDepts(Collection<Long> ids) {
        /*List<DeptDO> depts = deptService.getDepts(ids);
        return DeptConvert.INSTANCE.convertList03(depts);*/
        return null;
    }

    @Override
    public void validDepts(Collection<Long> ids) {
        //deptService.validDepts(ids);
    }

    @Override
    public Map<Long, SysDeptDto> getDeptMap(Set<Long> ids) {
        /*Map<Long, DeptDO> depts = deptService.getDeptMap(ids);
        return DeptConvert.INSTANCE.convertMap(depts);*/
        return null;
    }

}
